Teach win cross build enough about WSDK to build delorme.
authorrobertl <robertl>
Sat, 8 Aug 2009 22:15:31 +0000 (22:15 +0000)
committerrobertl <robertl>
Sat, 8 Aug 2009 22:15:31 +0000 (22:15 +0000)
tools/win-cross-config

index 3771c2f50cda5f4ebec6e50051aba222de12d3b7..dd8711247077329338fdfc13cc761401d447264b 100755 (executable)
@@ -2,8 +2,9 @@
 CHAIN=/usr/local/i386-mingw32-4.3.0
 
 S=.
-CC=$CHAIN/bin/i386-mingw32-gcc  \
-$S/configure  --host=i386-mingw32 --includedir=$CHAIN/include/ddk \
+CFLAGS="-I$CHAIN/mingw/include/ddk" \
+CC=$CHAIN/bin/i386-mingw32-gcc \
+$S/configure  --host=i386-mingw32  \
         --with-expathdr=$S/mingw/include \
         --with-libexpat=$S/mingw/lib